package com.zwh.aop.modules.service;

import org.springframework.stereotype.Service;

import com.zwh.aop.config.aspect.OperationLog;

import lombok.extern.slf4j.Slf4j;

/**
 * @author zwh
 * @date 2021/10/12 16:02
 **/
@Slf4j
@Service
public class TestAspectService {

    public void testMethodPoint(){
        log.info("方法执行");
//        int i=1/0;
    }
    @OperationLog(type = "执行注解方法")
    public void testAnnotationPoint(){
        log.info("方法执行");
//        int i=1/0;
    }
}
